package com.wynet.shopsapp.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wynet.shopsapp.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface UserDao extends BaseMapper<User> {
    @Update("update t_user set password=#{password} where phone=#{phone}")
    int updatePass(@Param("pass")String pass,@Param("phone") String phone);
}
